package bravo.xc.com.xc_bravo_android.beans;

import java.util.List;

/**
 * CREATED BY YANK
 * DATE : 2017/11/3
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public class TradeResultBeans {

    /**
     * mag : ok
     * code : 1
     * data : [{"total":13,"today":0,"userId":248}]
     */

    private String mag;
    private int code;
    private List<DataBean> data;

    public String getMag() {
        return mag;
    }

    public void setMag(String mag) {
        this.mag = mag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 13
         * today : 0
         * userId : 248
         */

        private float total;
        private float today;
        private int userId;

        public float getTotal() {
            return total;
        }

        public void setTotal(float total) {
            this.total = total;
        }

        public float getToday() {
            return today;
        }

        public void setToday(float today) {
            this.today = today;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
